<template>
  <Row type="flex" justify="center" align="middle" class="second-nav">
    <Col span="6">
      <div class="layout-logo">
        <img src="../assets/logo.png" alt="logo" />
      </div>
    </Col>
    <Col span="12">
      <Input icon="search" placeholder="请输入..." style="width: 480px" size="large"></Input>
    </Col>
    <Col span="6">
      <div class="layout-ceiling">
        <div class="layout-ceiling-main">
          <a href="http://wx.laixue.cn" target="_blank" class="ico-video">视频课程</a>
          <a href="http://lxbd.laixue.cn" target="_blank" class="ico-books">题库</a>
          <a href="/site/weixin.html" target="_blank" class="ico-wechat">微信</a>
          <a href="http://www.luckao.com/" target="_blank" class="ico-forum">考试论坛</a>
        </div>
      </div>
    </Col>
  </Row>
</template>

<script>
  export default {
    name: 'second'
  }
</script>

<style scoped>
.second-nav {
  padding-bottom: 25px;
  border-bottom: 4px solid #1d8fe2;
}

.layout-ceiling-main a {
  display: inline-block;
  padding: 0 10px;
  text-align: center;
  color: #657180;
}

.layout-ceiling-main a:before {
  display: block;
  margin: 0 auto 4px;
  content: '';
  width: 45px;
  height: 45px;
}

.ico-video:before {
  background: url('../assets/ico-video.png') no-repeat;
}
.ico-books:before {
  background: url('../assets/ico-books.png') no-repeat;
}
.ico-wechat:before {
  background: url('../assets/ico-wechat.png') no-repeat;
}
.ico-forum:before {
  background: url('../assets/ico-chat.png') no-repeat;
}
</style>

